package homework0401;

public class Squar extends Graph {
private double l;
private double w;
private String name ="Squar";
public double getL() {
	return l;
}
public void setL(double l) {
	this.l = l;
}
public double getW() {
	return w;
}
public void setW(double w) {
	this.w = w;
	setArea(2*w*l);
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}

}
